<div class="view mblView">
	<script type="dojo/require">at: "dojox/mvc/at"</script>

	<div data-dojo-type="dojox/mobile/ScrollableView">

	<h1 data-dojo-type="dojox/mobile/Heading" data-dojo-props='label:"Scrollable List Four", fixed:"top"'>
		<span id="sc4back1" data-dojo-type="dojox/mobile/ToolBarButton" arrow="left" 
		data-dojo-props="transitionOptions: {title: 'Configure', target: 'configuration', url: '#configuration', transitionDir: -1}">Back</span>
		<span data-dojo-type="dojox/mobile/ToolBarButton" id="sc4insert1x" data-dojo-props='icon:"mblDomButtonWhitePlus"' style="float:right;">1</span>
		<span data-dojo-type="dojox/mobile/ToolBarButton" id="sc4insert10x" data-dojo-props='icon:"mblDomButtonWhitePlus"' style="float:right;">10</span>
		<span data-dojo-type="dojox/mobile/ToolBarButton" id="sc4remove10x" data-dojo-props='icon:"mblDomButtonWhiteMinus"' style="float:right;">10</span>

	</h1>
	<div>
		<div class="field-title">Should scroll between the top header and the bottom footer, this text will also scroll.</div>
	</div>

	
		<form name="repeatTestForm">
				<ul
					data-dojo-type="dojox/mobile/RoundRectList"
					data-dojo-mixins="dojox/mvc/WidgetList,dojox/mvc/_InlineTemplateMixin"
					data-dojo-props="children: this.loadedModels.repeatmodels.model"
					data-mvc-child-type="dojox/mvc/Templated"
					data-mvc-child-mixins="dojox/mobile/ListItem"
					data-mvc-child-props="clickable: true,
							transitionOptions: {title:'Details',target:'repeatDetails',url:'#repeatDetails',params:{'cursor':this.indexAtStartup}},
							onClick: function(){scrollableTestApp2.setDetailsContext(this.indexAtStartup);}">
					<script type="dojox/mvc/InlineTemplate">
						<li data-dojo-type="dojox/mobile/ListItem">
							<div data-dojo-type="dojox/mobile/ToolBarButton" 
								data-dojo-props="icon: 'mblDomButtonRedCircleMinus',preventTouch: true, indexAtStartup: this.indexAtStartup,
												onClick: function(e){ /*console.log(this); console.log(this.indexAtStartup);console.log(e);*/
																		scrollableTestApp2.removeScrollableItem(this.indexAtStartup); return false; }"
								style="float: left; color: white; background-color: transparent; background-image: none; border: none;"></div>
							<div class="mblListItemLabel" style="display: block;" data-dojo-type="dojox/mvc/Output" data-dojo-props="value: at('rel:', 'First')"></div>	
						</li>
					</script>
				</ul>
		</form>
	</div>
	<h1 data-dojo-type="dojox/mobile/Heading" data-dojo-props="label: 'Scrollable List Four Footer Bar', fixed:'bottom'"></h1>
</div>
